{# The stage: a call, full screen (``chat_router``'s /stage). Her figure
is the phone, on the chat's own socket, and draws what the call is
doing (voice.js sets data-state). Until she shows something she is the
middle of it; once a card is up (``data-showing``) she steps aside as a
speaker tile, her name and the line she is saying, and the card takes
the stage, one at a time: each card is a tab (stage.js), the strip below
naming every one she drew, the one up underlined. The call saves into the conversation the
chat had open: the thread stays the record.
Needs: ``chat_surface.stage_context``. #}
{% extends "base.html" %}
{% from "components/macros/form.html" import button_classes %}
{% from "components/macros/chat.html" import conversation_field %}
{% from "components/macros/layout.html" import tab_bar %}
{% from "partials/chat/_call.html" import call_bar, mic_states, phone, phone_states with context %}
{% block title %}{{ assistant }}{% endblock %}
{% block navbar %}{% endblock %}
{% block page_body %}
{{ conversation_field(conversation_id) }}
{% call tab_bar("Cards", id="chat-stage-strip", attrs="hidden") %}{% endcall %}
{# A drawn card's place here, as the thread has its own (voice.js). #}
{# A card's tab in the strip, named by its title (stage.js). #}
{{ mic_states() }}
{% endblock %}